package main

import "fmt"

type person struct {
	name string
	age  int
}

func main() {

	fmt.Print(person{"Bob", 20})
	fmt.Println(person{name: "abc", age: 30})

	fmt.Println(person{name: "xyz"})

	s := person{name: "Sean", age: 33}
	fmt.Println(s.name)

	sp := &s

	fmt.Println(sp.age)

	sp.age = 51
	fmt.Println(sp.age)
	fmt.Println(s.age)
}
